package com.yumingjiang.weichatgtp.common.eunms;

public enum SystemResultStutasEnum {
    SUCCESS(10000000,"成功"),
    SYSTEM_EXCEPTION(10000001,"系统错误"),
    LOSE_PARAMS(10000002,"缺少参数"),

    ILLEGAL_IP(100000003,"非法的请求ip"),

    AUTH_FAIL(100000004,"认证授权失败")
    ;

    private int code;
    private String message;

    SystemResultStutasEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }


    public String getMessage() {
        return message;
    }

}
